﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DtoFw.Base
{
    /// <summary>
    /// JWT存取的内容
    /// </summary>
    public class TokenData
    {
        /// <summary>
        /// 账号ID
        /// </summary>
        public long UserId { get; set; } = 0;
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户账号
        /// </summary>
        public string UserNo { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public long RoleId { get; set; } = 0;
        /// <summary>
        /// 单位Id
        /// </summary>
        public long OrganId { get; set; } = 0;
        /// <summary>
        ///机构名称
        /// </summary>
        public string OrganName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 区划编号
        /// </summary>
        public string ComNo { get; set; }

        /// <summary>
        /// 机构Id
        /// </summary>
        public long DeptId { get; set; } = 0;
    }
}
